﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DGen
{
    /// <summary>
    /// Error handling.
    /// </summary>
    public partial class DBug
    {
        /// <summary>
        /// Default constructor.
        /// </summary>
        public class Err
        {

        }
        /// <summary>
        /// error management.
        /// </summary>
        public class ErrorTools
        {
            /// <summary>
            /// Does something with errors.
            /// </summary>
            /// <param name="ex"></param>
            public static void ProcessError(Exception ex)
            {
                string foo = ex.Message;
                //something
                int i = foo.Length;
                i = i * 2;
            }
        }


    }

}